package org.jeecg.modules.wlhy.hydriverbank.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.wlhy.hydriver.entity.HyDriver;
import org.jeecg.modules.wlhy.hydriverbank.entity.HyDriverBank;
import org.jeecg.modules.wlhy.hyvehicle.entity.HyVehicle;

import java.util.List;

/**
 * @Description: 司机银行卡信息
 * @Author: duanlikao
 * @Date:   2020-12-14
 * @Version: V1.0
 */
public interface HyDriverBankMapper extends BaseMapper<HyDriverBank> {

    HyDriverBank getDriverBankInfo(@Param("driverId")  String driverId ,
                                   @Param("bankNum")  String bankNum);

    List<HyDriverBank> pageList(Page<HyDriverBank> page, @Param(Constants.WRAPPER) QueryWrapper<HyDriverBank> queryWrapper, @Param("customerId") String customerId);
}
